package com.xc.ezplan.admin.vo;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

import com.xc.ezplan.core.base.BaseVo;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

/**
 * @author lixingchen
 * @date 2022/11/20
 * @description 后台岗位VO
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class AdminJobVo extends BaseVo {

    /**
     * 岗位ID
     */
    @ApiModelProperty(value = "岗位ID")
    private Long id;

    /**
     * 岗位名称
     */
    @NotBlank
    @ApiModelProperty(value = "岗位名称")
    private String name;

    /**
     * 岗位排序
     */
    @NotNull
    @ApiModelProperty(value = "岗位排序")
    private Integer jobSort;

    /**
     * 是否启用
     */
    @ApiModelProperty(value = "是否启用")
    private Boolean enabled;

    /**
     * 岗位描述
     */
    @ApiModelProperty(value = "岗位描述")
    private String description;

    /**
     * 创建日期
     */
    @ApiModelProperty(value = "创建日期")
    private LocalDateTime createTime;
}